package cn.lxh.org.service;

import cn.lxh.basic.exception.BusinessException;
import cn.lxh.basic.service.IBaseServiece;
import cn.lxh.org.domain.Shop;
import cn.lxh.org.domain.ShopAuditLog;
import cn.lxh.org.vo.ShopVo;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxh
 * @since 2022-06-12
 */
public interface IShopService extends IBaseServiece<Shop> {

    /**
     * 提交表单。。文件上传单独的controller层
     * @param shop
     */
    void settlement(Shop shop) ;

    /**
     * 审核通过操作
     * @param shopAuditLog
     */
    void pass(ShopAuditLog shopAuditLog);

    /**
     * 驳回操作
     * @param shopAuditLog
     */
    void reject(ShopAuditLog shopAuditLog);

    void batchAdd(List<Shop> shops);

    List<ShopVo> queryEcharts();
}
